<template>
	<view class="index-page page">
		<view class="user-info-block block">
			<view class="user-photo-block">
				<image src="@/static/index/default_photo.png" class="user-photo"></image>
			</view>
			<view class="user-name">微信用户</view>
		</view>
		<view class="menu-block block">
			<view @click="navigate('/pages/three/my_list')" class="menu-item">
				<image src="@/static/index/opinion.png" class="menu-icon"></image>
				<view class="menu-name">我的意见建议</view>
				<view class="iconfont icon-arrow-right"></view>
			</view>
			<view @click="navigate('/pages/three/my_list')" class="menu-item">
				<image src="@/static/index/complaint.png" class="menu-icon"></image>
				<view class="menu-name">我的投诉举报</view>
				<view class="iconfont icon-arrow-right"></view>
			</view>
			<view @click="navigate('/pages/three/my_list')" class="menu-item">
				<image src="@/static/index/other.png" class="menu-icon"></image>
				<view class="menu-name">我的其他反馈</view>
				<view class="iconfont icon-arrow-right"></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.index-page {
		padding: 30rpx;

		.block {
			width: $content-width;
		}
		.user-info-block{
			background: #ff0032;
			width: 100%;
			border-radius: 12px;
			height: 280rpx;
			margin: 0 auto;
			display: flex;
			align-items: center;
			padding: 0 30rpx;
			.user-photo-block{
				width: 140rpx;
				height: 140rpx;
				border-radius: 50%;
				overflow: hidden;
				.user-photo{
					width: 100%;
					height: 100%;
				}
			}
			.user-name{
				font-weight: bold;
				margin-left: 20rpx;
				width: calc(100% - 160rpx);
				overflow: hidden;
				text-overflow:ellipsis;
				white-space: nowrap;
				display: flex;
				color: #fff;
			}
		}
		.menu-block{
			width: 100%;
			margin: 0 auto;
			background: #fff;
			border-radius: 12px;
			padding:10rpx 30rpx;
			margin-top: 30rpx;
			.menu-item{
				display: flex;
				align-items: center;
				width: 100%;
				height: 130rpx;
				.menu-icon{
					width: 50rpx;
					height: 50rpx;
					margin-right: 30rpx;
				}
				.menu-name{
					flex-grow: 1;
				}
				.iconfont{
					font-size: 28rpx;
					color: #999;
				}
			}
		}
	}
</style>